package ooday03demo;

public class InterfaceDemo {
}
interface Inter1 { //接口1
    abstract void show();
    void test();
}
interface Inter2 { //接口2
    abstract void show();
    void test();
}
interface Inter3 { //接口3
    void show();
}
interface Inter4 extends Inter2,Inter3,Inter1 {   //接口4 继承接口3 和接口2
    void test();
}
abstract class Aoo implements Inter1,Inter2{ //抽象类继承接口1和接口2
    abstract void say();
}
class InterImpl extends Aoo implements Inter4 {
    public void show()
    {
        System.out.println("show");
    }
    public void test()
    {
        System.out.println("test");
    }
    void say()
    {
        System.out.println("say");
    }
}
